package com.m4f.city.business.service.ifc;

import java.util.Collection;
import java.util.List;

import com.m4f.city.business.domain.InternalUser;

public interface UserService {
	
	InternalUser createUser();
	List<InternalUser> getAllUser() throws Exception;
	InternalUser getUser(Long id) throws Exception;
	InternalUser getUser(String email) throws Exception;
	void save(InternalUser user) throws Exception;
	void delete(InternalUser user) throws Exception;
	long countUsers() throws Exception;
	Collection<InternalUser> getUsersByRange(String ordering, int init, int end) throws Exception;
	Collection<InternalUser> getUsersByRange(Long organizationId, String ordering, int init, int end) throws Exception;
	
	/*InternalUser getUserByAccessTokenValue(String tokenValue) throws Exception;
	InternalUser getUserByRefreshTokenValue(String tokenValue) throws Exception;*/
}